

let array = [1,2,3]

//let reuslt = array.map((num) => {return num+1})
let reuslt = array.filter((num) => num == 1)
console.log(reuslt.length)